<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .x{
            width: 160px;
            height: 24px;
            line-height: 24px;
            border:1px solid red;
            margin: 0px auto;
        }
        .x .x-1{
            position: relative;
            display: block;
            float: left;
            margin-right: 5px;
            width: 90px;
            height: 100%;
            background-color: red;
            text-align: center;
            color: #fff;
            font-weight: 700;
        }
        .x .x-1 i{
            position: absolute;
            right: 0;
            top: 0;
            width: 0;
            height: 0;
            border-color: transparent #fff transparent transparent;
            border-style: solid;
            border-width: 24px 10px 0px 0px;

        }
        .x-2{
            display: inline-block;
            width: 65px;
            height: 24px;
            font-size: 12px;
            color: gray;
            text-decoration: line-through;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="x">
            <span class="x-1">
                $1990
                <i></i>
            </span>
            <span class="x-2">$2990</span>
        </div>
    </div>
</body>
</html>